package al.il.technion.cs236635.project.tests.client;

import java.net.MalformedURLException;
import java.net.URL;

import javax.xml.namespace.QName;

public class Client {

	public static void main(String[] args) {
		try {
			TestServerService service = new TestServerService( new URL( "http://localhost:9090/Test"), new QName("http://tests.project.cs236635.technion.il.al/", "TestServerService"));
			Member m1 = new Member();
			Member m2 = new Member();
			m1.setMember(5);
			m2.setMember(10);
			Result result = service.getTestServerPort( ).add( m1, m2);
			System.out.println( result.getResult( ));
			
		} catch (MalformedURLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
